package com.buildingsell.service.impl;


import com.buildingsell.bean.User;
import com.buildingsell.dao.UserDao;
import com.buildingsell.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author XS
 * 人员业务逻辑实现类
 * @version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserDao userDao;
    @Override
    public List<User> findAll() {
        List<User> list = userDao.selectUserList();
        return list;
    }
}
